package qa.tools.model.po;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author LiJiang
 * @since 2021-09-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "AutoResult对象", description = "")
public class AutoResult implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "service name")
    private String serviceName;

    @ApiModelProperty(value = "revision list")
    private String revisionList;

    @ApiModelProperty(value = "branch name")
    private String branchName;

    @ApiModelProperty(value = "total case number")
    private Integer totalCase;

    @ApiModelProperty(value = "pass case number")
    private Integer passCase;

    @ApiModelProperty(value = "fail case number")
    private Integer failCase;

    @ApiModelProperty(value = "test run start time")
    private Date runTime;

    @ApiModelProperty(value = "fail case list")
    private String failCaseList;

    @ApiModelProperty(value = "0:staging CI, 1:timing trigger, 2:Regression, 3:pre-prd CI ,4 others")
    private Integer runType;

    @ApiModelProperty(value = "0:regression, 1:workflow")
    private Integer testSet;

    @ApiModelProperty(value = "通过率")
    private Float passingRate;


}
